// @表示src目录
// import 是ES6的模块语法，引入模块
import http from "@/http/http";

const url = "";

export default {
    modifyPassword: function(data) {
        return http.post(`${url}/modifyPassword.do`, data);
    },
    login: function (data) {
        return http.post(`${url}/login.do`, data);
    },
    getInfo: function () {
        return http.get("/getInfo.do");
    },
    logout: function () {
        return http.get("/logout.do");
    }
}